package com.blankii.androidlibrary.lib.version

/**
 * author: blankii
 * created on: 2024/4/18 14:37
 * description:
 */
data class ApkVersionResponseBody(
    val binary: Binary,
    val build: String,
    val changelog: Any,
    val direct_install_url: String,
    val installUrl: String,
    val install_url: String,
    val name: String,
    val update_url: String,
    val updated_at: Int,
    val version: String,
    val versionShort: String
) {
    fun getApkName(): String = "${name}_${version}_${versionShort}.apk"

}

data class Binary(
    val fsize: Int
)